package cn.gene.timeyan.coo.webapi.mapper;


import cn.gene.timeyan.pojo.coo.model.Apply;
import cn.gene.timeyan.pojo.coo.vo.ApplyVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 浜掑姪鎻??璁板綍琛 Mapper 接口
 * </p>
 *
 * @author LWG
 * @since 2022-07-25
 */
/*
揭榜
 */
public interface ApplyMapper extends BaseMapper<Apply> {

   //通过揭榜状态来获取对象
    ApplyVO getByState(String state);

    //通过cooperationId查看用户id
    List<ApplyVO> selectUserIdByCooperationId(Long cooperationId,Long userId);

    List<Long> getNotFinishedListByUserId(Long userId);
}
